/**
 * 
 */
package com.googlecode.xcarve.object;

/**
 * @author xinyun.du
 *
 */
public class DoveRpcHeaderMessage {
	
	public static final byte HEAD_FIRST = 0x10;
	public static final byte REQUEST = 0x01;
	public static final byte RESPONSE = 0x02;
	
	private String version;
    private byte type;
    private int lenth;
    
	/**
	 * @return the version
	 */
	public String getVersion() {
		return version;
	}
	/**
	 * @param version the version to set
	 */
	public void setVersion(String version) {
		this.version = version;
	}
	/**
	 * @return the type
	 */
	public byte getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(byte type) {
		this.type = type;
	}
	/**
	 * @return the lenth
	 */
	public int getLenth() {
		return lenth;
	}
	/**
	 * @param lenth the lenth to set
	 */
	public void setLenth(int lenth) {
		this.lenth = lenth;
	}
}
